const mongoose = require('mongoose')

//定义骨架
const gradesSchema = mongoose.Schema({
    year: String,
    course: Array
})

//定义模型
const gradesModel = mongoose.model('grades', gradesSchema)
module.exports = gradesModel